add annotations for tranfer and scope so that methods are exported by GI
authorJohn (J5) Palmieri <johnp@redhat.com>
Tue, 7 Sep 2010 17:50:40 +0000 (13:50 -0400)
committerJohn (J5) Palmieri <johnp@redhat.com>
Tue, 7 Sep 2010 17:50:40 +0000 (13:50 -0400)
gtk/gtkbuilder.c
gtk/gtkdialog.c

index dfbd418c4bfe75ec6f14ed3cfea81209c3f512e5..eb4db8abb9e507f10a3ef6f47175abc8dad3977e 100644 (file)
@@ -1279,7 +1279,7 @@ gtk_builder_connect_signals (GtkBuilder *builder,
 /**
  * gtk_builder_connect_signals_full:
  * @builder: a #GtkBuilder
- * @func: the function used to connect the signals
+ * @func: (scope call): the function used to connect the signals
  * @user_data: arbitrary data that will be passed to the connection function
  *
  * This function can be thought of the interpreted language binding
index 6517eff02babf335be750da6807d1af7c72a0a84..1fb80344aa836c19b6e92578db1fc8a22a4c25a7 100644 (file)
@@ -633,7 +633,7 @@ gtk_dialog_add_action_widget (GtkDialog *dialog,
  * appended to the end of the dialog's action area. The button widget is 
  * returned, but usually you don't need it.
  *
- * Return value: the button widget that was added
+ * Return value: (transfer full): the button widget that was added
  **/
 GtkWidget*
 gtk_dialog_add_button (GtkDialog   *dialog,
@@ -999,7 +999,7 @@ gtk_dialog_run (GtkDialog *dialog)
  * Gets the widget button that uses the given response ID in the action area
  * of a dialog.
  *
- * Returns: the @widget button that uses the given @response_id, or %NULL.
+ * Returns: (transfer none):the @widget button that uses the given @response_id, or %NULL.
  *
  * Since: 2.20
  */